package com.yehuo.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yehuo.app.schedule.TaskBase;
import lombok.Data;
import java.util.Date;

@TableName("o_order_red_packet")
@Data
public class OrderRedPacket extends TaskBase {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("order_id")
    private Long orderId;
    @TableField("user_id")
    private String userId;
    @TableField("amount")
    private String amount;
    @TableField("state")
    private Integer state;
    @TableField("`index`")
    private Integer index;
    @TableField("create_time")
    private Date createTime;
    @TableField("update_time")
    private Date updateTime;
}